//
//  SUBrain.h
//  RPN Calculator
//
//  Created by SunnyUp on 13-1-7.
//  Copyright (c) 2013年 SunnyUp. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface SUBrain : NSObject

- (void) pushOperand: (double)operand;
- (double) performOperation: (NSString *)operation;
- (void) clear;

@property (nonatomic, readonly) id program;

+ (NSString *) descriptionOfProgram:(id)program;
+(double)runProgram:(id)program;

@end
